package epam.bank.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Created with IntelliJ IDEA.
 * User: dima
 * Date: 09.03.13
 * Time: 22:24
 * To change this template use File | Settings | File Templates.
 */
@Entity
@Table(name = "INVOICE")
public class Invoice extends DomainObject {

    @Column(name = "NAME_INVOICE ")
    private String name;

    @Column(name = "SUM_INVOICE ")
    private int sum;

    public Invoice() {
        super();
    }

    public int getSum() {
        return sum;
    }

    public void setSum(int sum) {
        this.sum = sum;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}